export function isGroupResult (value) {
  return Object.keys(value).length === 2
    && value.items !== undefined
    && value.value !== undefined
}

export function isString (value) {
  return typeof value === 'string'
}